This converts the character string contained within or passed into the function to a correct SQL statement. 这将把函数内包含的或传递到函数中的字符串转换为正确的SQL语句。
The variant with the PreparedStatement is more elegant regarding the coding, as no string arithmetic is required to put the values for STATE and TYPE in the SQL statement. 使用PreparedStatement的那种代码片段在编码方面更为优雅,因为在将STATE和TYPE的值置入SQL语句时,不需要进行字符串运算。
All it takes is a single line of code to turn that string data into a native JavaScript data type by evaluating the JSON-formatted string using the eval statement. 通过使用eval语句对JSON格式的字符串求值,只需要一行代码就能将该字符串数据转化成原生JavaScript数据类型。
You then use a modified print statement with two greater-than symbols followed by the variable holding the file object to write the same strings. 然后使用修改过的print语句两个大于号后边跟着容纳file对象的变量写入相同的string。
Ideally, the string of characters should have a substring such as ERROR or something similar ( see the statement in bold blue), which will allow the tester to quickly find the error in the output file. 较理想的做法是,字符串有一个如ERROR或与之相似的子串(见蓝色粗体的语句),这个子串允许测试者很快地在输出文件中查找到错误。
In some cases, it's necessary to convert a date or portion of a date into a string& for example, if you're appending it to a string or using it in a comparison statement. 在某些情况下,需要将日期或日期的一部分转换为一个字符串。例如,如果您将其追加到一个字符串或在比较语句中使用它。
In SQL programming, a string containing any ( mathematical) formula can be converted into an executable SQL statement with the SQL command PREPARE. 在SQL编程中,可以使用SQL命令PREPARE将含有任何(数学)公式的字符串转换成可执行的SQL语句。
Either way, the new bytecode is passed as a Java-like source code statement or block in a String. 不管是哪种情况,新的字节码都作为类Java的源代码声明或者String中的块传递。
This variable contains the error string from the last failed SQL statement. 该变量包含最后一个失败的SQL语句的错误字符串。
Throughout this series, you've written ( output) data using the print statement, which by default writes the expression as a string to the screen ( or console window). 贯穿整个系列,一直用print语句写入(输出)数据,它默认把表达式作为string写到屏幕上(或控制台窗口上)。
If you prefer not to use a long string concatenation statement like this, an alternative is to use the string formatting operator which enables you to have an expression like 如果不喜欢使用这么长的字符串连接语句,另一种方法是使用字符串格式操作符,可以使用下面这样的表达式
With the second puts statement ( puts stands for put string), Ruby processes two substitutions. 在第二个puts语句中(puts代表putstring),Ruby处理了两次替换。
Instantiate a variable to string, which represents your SQL statement. 将一个变量实例化为字符串,该字符串代表了您的SQL语句。
One of the language features introduced in Java SE7 is to allow the switch statement to operate on variables of type String as well as on primitive types and enums. JavaSE7中引入的一个语言功能是允许switch语言在类型为String的变量上操作,同样也允许其在原始类型和枚举变量上操作。
Use a hypothetical query execution function called query_execute, which takes in a string representation of the SQL/ SPARQL statement. 使用名为queryexecute的虚构的查询执行函数,该函数将获取SQL/SPARQL语句的字符串表示。
Here you'll create a basic PHP encoder object that represents an Activity Streams feed when you convert it to a string ( for example, by using the PHP echo statement with it). 这里您将创建一个基本的PHP编码器对象,当您将它转换成一个字符串时(例如,通过使用PHPecho语句进行处理),它会表示一个ActivityStreams订阅源。
On the design the query page, in the query string box, type the following Transact-SQL statement that lists the current connections to your database engine, and then click next. 在“设计查询”页上的“查询字符串”框中,键入以下transact-sql语句以列出当前与数据库引擎的连接,再单击“下一步”。
Except for multi-row queries, the dynamic string can contain any SQL statement ( without the final semicolon) or any PL/ SQL block ( with the final semicolon). 除多行查询,动态字符串可以包含任何SQL语句(不包括最后的分号)或任何PL/SQL的块(最后分号)。
Evaluate a string as if it were a source code statement at runtime. 评估字符串仿佛那是一个源代码在运行时的发言。
ORA-00604 error occurred at recursive SQL level string Cause: An error occurred while processing a recursive SQL statement ( a statement applying to internal dictionary tables). 原因:在运行一条递归SQL语句(该语句将应用于对内部表或数据字典的操作)时,发生错误。